Skip to content

ci/packaging: close test blind spots, add xdist, slim .deb & refresh README - #407

Merged
FujitsuPolycom merged 6 commits into
mainfrom
chore/ci-xdist-slim-deb
Nov 30, 2026
Merged

FujitsuPolycom merged 6 commits into
mainfrom
chore/ci-xdist-slim-deb

Conversation

@FujitsuPolycom

Copy link
Copy Markdown
Owner

Why

Close CI blind spots (30 skipped test files including 100% of SGLang tests), speed up serial 26–39m CI runs, catch leaked secrets inside compressed archives, stop .deb packages from shipping a full repo git bundle, and align front-door docs with SparkRing's post-Flare libsircl focus.

What Changed

  • CI discovery, pytest-xdist, and shellcheck (.github/workflows/ci.yml, scripts/test_ci_checks.py): Replace the 21-path allowlist with root pytest auto-discovery + pytest-xdist (-n auto --dist loadfile), eliminate 11 duplicate test runs, add shellcheck on active .sh scripts, and enforce orphan/duplicate CI coverage checks. 12 previously skipped test files (including SGLang's test_bounded_prefill_patch.py and sparkcache) now run in CI; the remaining 18 GPU/external-image tests are explicitly documented.
  • Release-safety hardening (scripts/check_release_safety.py): Detect bare 10.0.0.0/8 IPs, hf_/sk-/AKIA tokens, and text members inside .gz/.tar.gz archives (bounded against decompression bombs).
  • Slim .deb packaging (scripts/build_deb.py, runtime/common/distribution.py): Package an explicit runtime manifest by default (excluding performance/, historical runtime/releases/*, dumps, and source.bundle), keeping --include-source-bundle opt-in; handle optional bundle_sha256 cleanly in distribution.py.
  • Front-door docs (README.md, docs/CI.md, spark_transport/README.md, scripts/compose_builder/site.py): Lead README.md with SparkRing's ring & chain libsircl pitch for vLLM, SGLang, and custom Torch/NCCL workloads, qualify the historical Speed table, move attributions to Attribution & Licenses, and document all 11 CI jobs and Gen-4 vs legacy Gen 1–3 transport layout.

Verification

  • python scripts/check_release_safety.py . (0 findings across repo + 27 .gz/.tar.gz), python scripts/check_repository_layout.py, python scripts/check_markdown_links.py . (4,272 links), ruff check (0 errors), bash -n (14 active scripts).
  • pytest on modified/newly-discovered suites (212 passed), scripts/compose_builder/test_site.py (17/17 non-Windows-bash passed), and pytest --collect-only (10,812 tests, 0 errors).

Risks / Follow-Ups

  • Consumers expecting source.bundle inside .deb artifacts should pass --include-source-bundle to scripts/build_deb.py.
  • Follow-up draft PR stacked on this branch executes the aggressive repo diet (-50.6% tracked size) and removes the retired Go lil-bridge CI job.

@FujitsuPolycom
FujitsuPolycom merged commit da315f8 into main Nov 30, 2026
11 checks passed
@FujitsuPolycom
FujitsuPolycom deleted the chore/ci-xdist-slim-deb branch November 30, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant